package com.ktgj.flight.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;

import java.util.Date;

/**
 * 机票订单列表详情
 */
public class FlightOrderDetailsList
{
    /** 自增主键 */
    private String orderInfoTicketsId;

    /** 航空公司 */
    @Excel(name = "航空公司")
    private String airliner;

    /** 航班号 */
    @Excel(name = "航班号")
    private String flight;

    /** 出港城市 */
    @Excel(name = "出港城市")
    private String departure;

    /** 到港城市 */
    @Excel(name = "到港城市")
    private String arrival;

    /** 出发机场 */
    @Excel(name = "出发机场")
    private String depAirportName;

    /** 打到机场 */
    @Excel(name = "到达机场")
    private String arrAirportName;

    /** 航段类型（单程，往返中转第一程均为OW,往返第二程为RT,中转第二程为OT。老版本往返票为WM已经废弃） */
    @Excel(name = "航段类型", readConverterExp = "单=程，往返中转第一程均为OW,往返第二程为RT,中转第二程为OT。老版本往返票为WM已经废弃")
    private String tripType;

    /** 出发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "出发时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date departureTime;

    /** 到达时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "到达时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date arrivalTime;

    public String getOrderInfoTicketsId() {
        return orderInfoTicketsId;
    }

    public void setOrderInfoTicketsId(String orderInfoTicketsId) {
        this.orderInfoTicketsId = orderInfoTicketsId;
    }

    public String getAirliner() {
        return airliner;
    }

    public void setAirliner(String airliner) {
        this.airliner = airliner;
    }

    public String getFlight() {
        return flight;
    }

    public void setFlight(String flight) {
        this.flight = flight;
    }

    public String getDeparture() {
        return departure;
    }

    public void setDeparture(String departure) {
        this.departure = departure;
    }

    public String getArrival() {
        return arrival;
    }

    public void setArrival(String arrival) {
        this.arrival = arrival;
    }

    public String getTripType() {
        return tripType;
    }

    public void setTripType(String tripType) {
        this.tripType = tripType;
    }

    public Date getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(Date departureTime) {
        this.departureTime = departureTime;
    }

    public Date getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(Date arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public String getDepAirportName() {
        return depAirportName;
    }

    public void setDepAirportName(String depAirportName) {
        this.depAirportName = depAirportName;
    }

    public String getArrAirportName() {
        return arrAirportName;
    }

    public void setArrAirportName(String arrAirportName) {
        this.arrAirportName = arrAirportName;
    }
}
